package org.asiainfo.system.domain;

import lombok.Data;
import lombok.EqualsAndHashCode;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;
import org.asiainfo.common.tenant.core.TenantEntity;

/**
 * 分类字典(SysCategory)实体类
 *
 * @author makejava
 * @since 2024-10-19 09:55:22
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Table("sys_category")
public class SysCategory extends TenantEntity {

    /**
     * 分类ID
     */
    @Id
    @Column(value = "category_id")
    private Long categoryId;
    /**
     * 父级ID
     */
    @Column(value = "parent_id")
    private Long parentId;
    /**
     * 祖级ID
     */
    @Column(value = "ancestors")
    private String ancestors;
    /**
     * 分类名称
     */
    @Column(value = "category_name")
    private String categoryName;
    /**
     * 分类编码
     */
    @Column(value = "category_code")
    private String categoryCode;
    /**
     * 描述信息
     */
    @Column(value = "remark")
    private String remark;
    /**
     * 删除标志（0存在 1删除）
     */
    @Column(value = "del_flag")
    private String delFlag;
}

